import request from "./payIndex.js";


/**获取prepay_id */
export function getOrderPre(data) {
    return request("pay/getOrderPre", data, "POST");
}


/**获取支付签名 */
export function getPaySign(data) {
    return request("pay/getPaySign", data, "GET");
}

/** 获取openid */
export function getOpenid(data) {
    return request("order/wx/getOpenid", data, "POST");
}


/**测试服务商下单 */
export function getOrderPre1(data) {
    return request("order/pay/getOrderPre", data, "POST");
}


/**测试服务商获取支付签名 */
export function getPaySign1(data) {
    return request("order/pay/getPaySign", data, "POST");
}
